package com.apache.portal.thread;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 定时器测试类
 */
public class TestSchedulderJob implements ISchedulerJob {
	private Logger log = LoggerFactory.getLogger(TestSchedulderJob.class);
	private static transient boolean exeAutoSchedulderJob = true;//线程执行标志
	public void run() {
		if (exeAutoSchedulderJob) {
			try {
				exeAutoSchedulderJob = false;
				//以下开始编写自己的业务功能逻辑代码、或调用服务端插件的相关代码

				log.info("定时器执行完成！！！！");
			} catch (Exception e) {
				e.printStackTrace();
			} finally {
				exeAutoSchedulderJob = true;
			}
		}
	}
}